home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / var / db / pkg / sys-devel / automake-1.6.3 / automake-1.6.3.ebuild < prev    next >
Encoding:
Text File  |  2005-10-16  |  1.4 KB  |  51 lines

  1. # Copyright 1999-2005 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/sys-devel/automake/automake-1.6.3.ebuild,v 1.34 2005/08/23 23:58:59 vapier Exp $
  4.  
  5. inherit eutils
  6.  
  7. DESCRIPTION="Used to generate Makefile.in from Makefile.am"
  8. HOMEPAGE="http://sources.redhat.com/automake/"
  9. SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
  10.  
  11. LICENSE="GPL-2"
  12. SLOT="${PV:0:3}"
  13. KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ~ppc-macos s390 sh sparc x86"
  14. IUSE=""
  15.  
  16. DEPEND="dev-lang/perl
  17.     sys-devel/automake-wrapper
  18.     >=sys-devel/autoconf-2.59-r6
  19.     sys-devel/gnuconfig"
  20.  
  21. src_unpack() {
  22.     unpack ${A}
  23.     cd "${S}"
  24.     sed -i \
  25.         -e "/^@setfilename/s|automake|automake${SLOT}|" \
  26.         -e "s|automake: (automake)|automake v${SLOT}: (automake${SLOT})|" \
  27.         -e "s|aclocal: (automake)|aclocal v${SLOT}: (automake${SLOT})|" \
  28.         automake.texi || die "sed failed"
  29.     export WANT_AUTOCONF=2.5
  30. }
  31.  
  32. src_install() {
  33.     make DESTDIR="${D}" install || die
  34.     rm -f "${D}"/usr/bin/{aclocal,automake}
  35.  
  36.     dodoc NEWS README THANKS TODO AUTHORS ChangeLog
  37.     doinfo *.info
  38.  
  39.     # remove all config.guess and config.sub files replacing them
  40.     # w/a symlink to a specific gnuconfig version
  41.     local x=
  42.     for x in guess sub ; do
  43.         dosym ../gnuconfig/config.${x} /usr/share/${PN}-${SLOT}/config.${x}
  44.     done
  45. }
  46.  
  47. pkg_postinst() {
  48.     einfo "Please note that the 'WANT_AUTOMAKE_1_6=1' syntax has changed to:"
  49.     einfo "  WANT_AUTOMAKE=1.6"
  50. }
  51.